package com.sf.fy.uav.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 用户额外信息表
 * </p>
 *
 * @author LTQ
 * @since 2023-06-14
 */
@TableName("user_extra")
@ApiModel(value = "UserExtra对象", description = "用户额外信息表")
public class UserExtra implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Date lastLoginTime;


    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(Date lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }


    @Override
    public String toString() {
        return "UserExtra{" +
                "id = " + id +
                ", lastLoginTime = " + lastLoginTime +
                ", userId = " + userId +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                "}";
    }
}
